<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<!--<div ng-app="">
    {{8+7}}
</div>-->
<!--
<div ng-app="" ng-init="quantity=15;cost=3">
    <p> 总价：<span ng-bind="quantity * cost"></span></p>
</div>-->

<!--<div ng-app="" ng-init="firstName='张';lastName='三'">
    <p> 姓名：<span ng-bind="firstName +''+ lastName"></span></p>
    <p>姓名：{{firstName +""+lastName}}</p>
</div>-->

<!--<p>AngularJS 对象</p>
<div ng-app="" ng-init="person={firstName:'张',lastName:'三'}">
    <p> 姓名：<span ng-bind="person.firstName +''+ person.lastName"></span></p>
    <p>姓名：{{person.firstName +""+person.lastName}}</p>
</div>-->


<p>AngularJS数组</p>
<div ng-app="" ng-init="point=[23,12,34,45,56]">
    <p> 数组3：<span ng-bind="point[2]"></span></p>
    <p>数组2：{{point[1]}}</p>
</div>


<script src="http://cdn.static.runoob.com/libs/angular.js/1.4.6/angular.min.js"></script>
</body>
</html>